#ifndef USBCOM_H

#define USBCOM_H

#include "CH58x_common.h"
extern UINT8 Ep2DataOUTFlag;
extern UINT8 Ep2DataOUTLen;
extern UINT8 Ep1DataOUTFlag;
extern UINT8 Ep1DataOUTLen;
extern __aligned(4) UINT8 Ep1OUTDataBuf[MAX_PACKET_SIZE];
extern __aligned(4) UINT8 Ep2OUTDataBuf[MAX_PACKET_SIZE];
void  InitUSBDevPara(void);
void  InitUSBDevice(void);
void  USB_IRQProcessHandler(void);
UINT8 SendUSBData(UINT8 *p_send_dat, UINT16 send_len);
void  USB_Printf(char *fmt, ...);
#endif
